import React, { Component } from 'react';
import { inject, observer } from 'mobx-react';
import { toJS } from 'mobx'
import { Popconfirm, Progress, notification, message, Modal, Drawer, Alert, Tabs, Table, Divider, Tag, Timeline, Tree, Statistic, Popove, List, Empty, Descriptions, Calendar, Card, Carousel, Collapse, Tooltip, Comment, Badge, Avatar, TimePicker, Transfer, TreeSelect, Select, Slider, Switch, Radio, Rate, Mentions, InputNumber, Input, Form, DatePicker, Cascader, Checkbox, AutoComplete, Button, Upload, Icon, Spin, Typography, Row, Col, Header, Footer, Sider, Content, Affix, Breadcrumb, Menu, Dropdown, Pagination, PageHeader, Steps } from 'antd'
import moment from 'moment';
import 'moment/locale/zh-cn';
moment.locale('zh-cn');
const { SubMenu } = Menu;
const { MonthPicker, RangePicker, WeekPicker } = DatePicker;
const { Step } = Steps;
const { Title } = Typography;
const { Option } = Mentions;
const { Option1 } = Select;
const { Panel } = Collapse;
const { TabPane } = Tabs;
const { SHOW_PARENT } = TreeSelect;
@inject('YunYingStore',"AdminStore")
@observer
export class Search extends Component {
    render() {
        let that = this
        return (
            <React.Fragment>
                <Button
                    onClick={() => {
                        // this.props.YunYingStore.changeSearchResultShow(true)
                        this.props.YunYingStore.search(this.props.AdminStore.token, this.props.YunYingStore.beginTime, this.props.YunYingStore.endTime, this.props.YunYingStore.imageBase64, this.props.YunYingStore.attrs, 60, 5)
                    }}>搜索</Button>
            </React.Fragment>
        );
    }
    componentDidMount = async () => {
    }
}
